Repository navigation
Conversation
2b06745 to
698462b
Compare
theghost5800
left a comment
There was a problem hiding this comment.
Some of comments are repeatable or not but overall do the checks through all the code again if possible
theghost5800
left a comment
There was a problem hiding this comment.
Some of comments are repeatable or not but overall do the checks through all the code again if possible
LMCROSSITXSADEPLOY-3563
… from poms LMCROSSITXSADEPLOY-3054
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
19c69f8 to
e7fa4e6
Compare
…operations limiting LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
LMCROSSITXSADEPLOY-3563
|
| <dependency> | ||
| <groupId>org.hamcrest</groupId> | ||
| <artifactId>hamcrest</artifactId> | ||
| <version>${hamcrest.version}}</version> |
There was a problem hiding this comment.
remove the second '}' here
| private ExecutorService createUploadMonitorExecutor() { | ||
| ThreadFactory threadFactory = Thread.ofVirtual() | ||
| .name(Constants.UPLOAD_MONITOR_THREAD_NAME_PREFIX, 0) | ||
| .factory(); | ||
|
|
||
| return Executors.newThreadPerTaskExecutor(threadFactory); | ||
| } |
There was a problem hiding this comment.
ExecutorService should be shut down as part of its owner's lifecycle. Here its created but it does not appear to be closed.
| public static final int MAX_CONCURRENT_PAGES = 4; //leaving it like that for testing purposes | ||
| public static final int SECOND_PAGE = 2; | ||
| public static final int DEFAULT_CONCURRENT_TASKS = 8; //this one can be a bit more, but first tests will be like that |
There was a problem hiding this comment.
Should these values be left for prod? If so remove the comments.
| if (e.getStatusCode() == HttpStatus.NOT_FOUND) { | ||
| // package was most probably already consumed by CF between the polls, meaning that since the build was already created from the package object, the package is not needed anymore | ||
| // and the cf blobstore garbage collector has deleted it | ||
| keepPolling = false; | ||
| continue; | ||
| } | ||
| throw e; |
There was a problem hiding this comment.
The non-404 throw runs on the background monitor thread, and it seems like the error gets swallowed. Should this call callback.onError(e) like the FAILED-status branch below?



Migration of the cf-java-client dependency